package com.example.common;

import java.util.Random;

public class RandomUtils {
    public static int getRandomInt(int x) {
        Random random = new Random();
        int y = random.nextInt();
        return (y % x + x) % x;
    }
}
